package com.qishenyuan.competition;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(value = {"com.qishenyuan.competition.*"})
@MapperScan(basePackages = {"com.qishenyuan.competition.dao"})
public class CompetitionApplication {

    private final static Logger log = LoggerFactory.getLogger(CompetitionApplication.class);


    public static void main(String[] args) {

        SpringApplication.run(CompetitionApplication.class, args);
        log.info("<===== competition started =====>");
    }

}
